package com.easy.service;


import com.easy.bean.Department;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IDepartmentService {
    List<Department> getDepartment(@Param("department") Department department, @Param("page") Page page);

    int addDepartment(Department department);

    int editDepartment(Department department);

    Department getDepartmentById(int id);
    int delDepartment(int id);
    int getCount(@Param("department") Department department);
}
